<template>
  <div id="login">
    <form>
      <label for="username"></label>
      <input type="text" v-model.trim="logindata.username" name="username" />
      <label for="pwd"></label>
      <input type="text" v-model.trim="logindata.pwd" name="pwd" />
      <input type="button" value="登录" @click="doLogin" />
    </form>
  </div>
</template>

<script>
import utils from "./utils/utils";
export default {
  name: "login",
  data() {
    return {
      logindata: { username: "", pwd: "" }
    };
  },
  methods: {
    doLogin(){
      
    }
  }
};
</script>

<style>
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
